﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

// Reviewed
#pragma once

#include "GcmpGUiBaseInterface.h"
#include <IControlDefinition.h>

namespace gcmp
{
    /// \brief 绑定命令的控件数据定义,绑定有命令的控件的可见性及可用性完全由命令决定
    class GCMP_GUI_BASE_INTERFACE_EXPORT ICommandControlDefinition : public IControlDefinition
    {
    public:
        /// \brief 得到控件绑定的命令Id
        virtual std::wstring GetCommandId() const = 0;
    };
}

